﻿namespace Coater.Helper
{
    public static class LogHelper
    {
        /// <summary>
        /// 操作日志Info：界面的操作，非作业状态下的全部日志写入此处
        /// AMHS.Log.LogHelper.OperationLog.Info
        /// </summary>
        public static readonly log4net.ILog OperationLog = log4net.LogManager.GetLogger("OperationLog");
        /// <summary>
        /// 作业日志Info：开始作业后，配方、晶圆传递信息等
        /// AMHS.Log.LogHelper.JobLog.Info
        /// </summary>
        public static readonly log4net.ILog JobLog = log4net.LogManager.GetLogger("JobLog");
        /// <summary>
        /// EAP日志Info：EAP通讯相关日志
        /// AMHS.Log.LogHelper.SecsLog.Info
        /// </summary>
        public static readonly log4net.ILog SecsLog = log4net.LogManager.GetLogger("SecsLog");
        /// <summary>
        /// 异常日志Error：包含告警日志及程序异常日志
        /// AMHS.Log.LogHelper.ErrorLog.Error
        /// </summary>
        public static readonly log4net.ILog ErrorLog = log4net.LogManager.GetLogger("ErrorLog");
        /// <summary>
        /// 调试日志Debug：开发者调试及排查程序逻辑异常
        /// AMHS.Log.LogHelper.DebugLog.Debug
        /// </summary>
        public static readonly log4net.ILog DebugLog = log4net.LogManager.GetLogger("DebugLog");
    }
}